package leetcode.editor.cn;

/**
 * @author Administrator
 * @description
 * @date 2023/3/12 0012
 */
public class Solution2114 {

    public int mostWordsFound(String[] sentences) {
        int max = Integer.MIN_VALUE;
        for (String sentence : sentences) {
            max = Math.max(sentence.split(" ").length +1, max);
        }
        return max;
    }


}
